192
|
How do I display radio buttons for all cells in the column

(axComboBox1.Columns.Add("Radio") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasRadioButton,true);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
191
|
How do I display checkboxes for all cells in the column

(axComboBox1.Columns.Add("Check") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
247
|
How do I display as strikeout an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemStrikeOut(var_Items.AddItem("strikeout"),true);
|
248
|
How do I display as strikeout a cell or an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <s>strikeout</s> only a portion of text"),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
|
249
|
How do I display as strikeout a cell

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellStrikeOut(var_Items.AddItem("strikeout"),0,true);
|
241
|
How do I display as italic an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemItalic(var_Items.AddItem("italic"),true);
|
242
|
How do I display as italic a cell or an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <i>italic</i> only a portion of text"),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
|
243
|
How do I display as italic a cell

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellItalic(var_Items.AddItem("italic"),0,true);
|
90
|
How do I disable the full-row selection in the control

axComboBox1.FullRowSelect = false;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("One");
axComboBox1.Items.AddItem("Two");
|
113
|
How do I disable the control

axComboBox1.Enabled = false;
|
80
|
How do I disable sorting the columns when clicking the control's header

axComboBox1.SortOnClick = EXCOMBOBOXLib.SortOnClickEnum.exNoSort;
axComboBox1.Columns.Add("1");
axComboBox1.Columns.Add("2");
|
81
|
How do I disable sorting a specified column when clicking its header

axComboBox1.Columns.Add("1");
(axComboBox1.Columns.Add("NoSort") as EXCOMBOBOXLib.Column).AllowSort = false;
|
118
|
How do I disable showing the tooltip for all control
axComboBox1.ToolTipDelay = 0;
(axComboBox1.Columns.Add("tootip") as EXCOMBOBOXLib.Column).ToolTip = "this is a tooltip assigned to a column";
|
178
|
How do I disable resizing a column at runtime

(axComboBox1.Columns.Add("Unsizable") as EXCOMBOBOXLib.Column).AllowSizing = false;
axComboBox1.Columns.Add("C2");
axComboBox1.Columns.Add("C3");
axComboBox1.Columns.Add("C4");
|
250
|
How do I disable or enable an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_EnableItem(var_Items.AddItem("disabled"),false);
axComboBox1.Items.AddItem("enabled");
|
179
|
How do I disable drag and drop columns

(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).AllowDragging = false;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).AllowDragging = false;
|
51
|
How do I change visual appearance of the +/- ( expand/collapse ) buttons

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesAtRoot;
axComboBox1.HasButtons = EXCOMBOBOXLib.ExpandButtonEnum.exWPlus;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root 1");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
h = var_Items.AddItem("Root 2");
var_Items.InsertItem(h,null,"Child");
|
266
|
How do I change the visual effect for the cell, using your EBN files

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.Columns.Add("C1");
axComboBox1.Columns.Add("C2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Cell 1");
var_Items.set_CellCaption(h,1,"Cell 2");
var_Items.set_CellBackColor(h,1,0x1000000);
|
147
|
How do I change the visual aspect only for the thumb in the scroll bar, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 483;
|
140
|
How do I change the visual aspect of the drop down filter button, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
|
143
|
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateHeader,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayUp,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateTodayDown,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateScrollRange,(uint)ColorTranslator.ToWin32(Color.FromArgb(230,230,230)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateSeparatorBar,(uint)ColorTranslator.ToWin32(Color.FromArgb(230,230,230)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exDateSelect,0x1000000);
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Date") as EXCOMBOBOXLib.Column);
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exDate;
var_Column.DisplayFilterButton = true;
var_Column.DisplayFilterDate = true;
|
142
|
How do I change the visual aspect of the close button in the filter bar, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
144
|
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSelBackColorFilter,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSelForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,20,20)));
(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
|
141
|
How do I change the visual aspect of buttons in the cell, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exCellButtonUp,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exSizeGrip,0x2000000);
axComboBox1.SelForeColor = Color.FromArgb(0,0,0);
axComboBox1.ShowFocusRect = false;
(axComboBox1.Columns.Add("Column 1") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasButton,true);
axComboBox1.Items.AddItem("Button 1");
axComboBox1.Items.AddItem("Button 2");
axComboBox1.Columns.Add("Column 2");
|
148
|
How do I change the visual aspect for thumb parts in the scroll bars, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.VisualAppearance.Add(2,"c:\\exontrol\\images\\pushed.ebn");
axComboBox1.VisualAppearance.Add(3,"c:\\exontrol\\images\\hot.ebn");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHSThumbH,0x3000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSThumb,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbP,0x2000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exVSThumbH,0x3000000);
axComboBox1.ColumnAutoResize = false;
axComboBox1.ScrollBySingleLine = true;
(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 483;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemHeight(var_Items.AddItem("Item 1"),248);
axComboBox1.Items.AddItem("Item 2");
|
236
|
How do I change the visual appearance for the item, using your EBN technology

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root");
int hC = var_Items.InsertItem(h,null,"Child 1");
var_Items.set_ItemBackColor(hC,0x1000000);
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
|
98
|
How do I change the visual appearance effect for the selected item, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
(axComboBox1.GetOcx() as EXCOMBOBOXLib.ComboBox).SelBackColor = 0x1000000;
axComboBox1.SelForeColor = Color.FromArgb(0,0,0);
axComboBox1.ShowFocusRect = false;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
335
|
How do I change the text in the edit or label area

axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("Item 3");
var_Items.AddItem("Item 1");
var_Items.AddItem("Item 2");
axComboBox1.set_EditText(0,"Test");
|
157
|
How do I change the item's foreground color for numbers between an interval - Range

axComboBox1.ConditionalFormats.Add("%0 >= 2 and %0 <= 10",null).ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
156
|
How do I change the item's background color for numbers less than a value

axComboBox1.ConditionalFormats.Add("%0 < 10",null).BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
axComboBox1.Columns.Add("Numbers");
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
axComboBox1.Items.AddItem(10);
axComboBox1.Items.AddItem(20);
|
102
|
How do I change the height of the control's filterbar

axComboBox1.FilterBarHeight = 32;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
251
|
How do I change the height of an item

axComboBox1.ScrollBySingleLine = true;
axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemHeight(var_Items.AddItem("height"),128);
axComboBox1.Items.AddItem("enabled");
|
101
|
How do I change the header's foreground color

axComboBox1.HeaderForeColor = Color.FromArgb(255,0,0);
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
axComboBox1.Items.AddItem("Item 1");
|
103
|
How do I change the foreground color of the control's filterbar

axComboBox1.FilterBarForeColor = Color.FromArgb(255,0,0);
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
237
|
How do I change the foreground color for the item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root");
int hC = var_Items.InsertItem(h,null,"Child 1");
var_Items.set_ItemForeColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
|
106
|
How do I change the font of the control's filterbar

axComboBox1.FilterBarFont.Size = 20;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
568
|
How do I change the drop down filter icon/button (black)

axComboBox1.BeginUpdate();
EXCOMBOBOXLib.Appearance var_Appearance = axComboBox1.VisualAppearance;
var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" +
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" +
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA");
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exCursorHoverColumn,-1);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exBackColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(0,0,1)));
axComboBox1.set_Background(EXCOMBOBOXLib.BackgroundPartEnum.exForeColorFilter,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,255,255)));
axComboBox1.set_Description(EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarExclude,"<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>");
axComboBox1.HeaderAppearance = EXCOMBOBOXLib.AppearanceEnum.None2;
axComboBox1.HeaderBackColor = Color.FromArgb(0,0,0);
axComboBox1.HeaderForeColor = Color.FromArgb(255,255,255);
axComboBox1.HeaderVisible = true;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column);
var_Column.FilterList = EXCOMBOBOXLib.FilterListEnum.exShowExclude | EXCOMBOBOXLib.FilterListEnum.exShowCheckBox;
var_Column.DisplayFilterButton = true;
var_Column.AllowSort = false;
var_Column.AllowDragging = false;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("One");
var_Items.AddItem("Two");
var_Items.AddItem("Three");
axComboBox1.EndUpdate();
|
86
|
How do I change the control's foreground color

axComboBox1.ForeColor = Color.FromArgb(120,120,120);
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem("item");
|
322
|
How do I change the control's border, using your EBN files

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.Appearance = (EXCOMBOBOXLib.AppearanceEnum)0x1000000;
|
85
|
How do I change the control's background color

axComboBox1.BackColor = Color.FromArgb(200,200,200);
|
87
|
How do I change the control's background / foreground color on the locked area

axComboBox1.CountLockedColumns = 1;
axComboBox1.ForeColorLock = Color.FromArgb(240,240,240);
axComboBox1.BackColorLock = Color.FromArgb(128,128,128);
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("Locked") as EXCOMBOBOXLib.Column).Width = 128;
(axComboBox1.Columns.Add("Un-Locked 1") as EXCOMBOBOXLib.Column).Width = 128;
(axComboBox1.Columns.Add("Un-Locked 2") as EXCOMBOBOXLib.Column).Width = 128;
(axComboBox1.Columns.Add("Un-Locked 3") as EXCOMBOBOXLib.Column).Width = 128;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("locked"),1,"unlocked");
|
158
|
How do I change the column's foreground color for numbers between an interval - Range

EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("%0 >= 2 and %0 <= 10",null);
var_ConditionalFormat.Bold = true;
var_ConditionalFormat.ForeColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0));
var_ConditionalFormat.ApplyTo = (EXCOMBOBOXLib.FormatApplyToEnum)0x1;
axComboBox1.Columns.Add("N1");
axComboBox1.Columns.Add("N2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem(3),1,3);
EXCOMBOBOXLib.Items var_Items2 = axComboBox1.Items;
var_Items2.set_CellCaption(var_Items2.AddItem(10),1,11);
EXCOMBOBOXLib.Items var_Items3 = axComboBox1.Items;
var_Items3.set_CellCaption(var_Items3.AddItem(13),1,31);
axComboBox1.SearchColumnIndex = 1;
|
175
|
How do I change the column's caption

(axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column).Caption = "new caption";
|
97
|
How do I change the colors for the selected item

axComboBox1.SelBackColor = Color.FromArgb(0,0,0);
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
267
|
How do I change the cell's foreground color

axComboBox1.Columns.Add("C1");
axComboBox1.Columns.Add("C2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Cell 1");
var_Items.set_CellCaption(h,1,"Cell 2");
var_Items.set_CellForeColor(h,1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
|
265
|
How do I change the cell's background color

axComboBox1.Columns.Add("C1");
axComboBox1.Columns.Add("C2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Cell 1");
var_Items.set_CellCaption(h,1,"Cell 2");
var_Items.set_CellBackColor(h,1,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
|
264
|
How do I change the caption or value for a particular cell

axComboBox1.Columns.Add("C1");
axComboBox1.Columns.Add("C2");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("Cell 1"),1,"Cell 2");
|
115
|
How do I change the caption being displayed in the control's filter bar

axComboBox1.FilterBarCaption = "your filter caption";
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
104
|
How do I change the background color of the control's filterbar

axComboBox1.FilterBarBackColor = Color.FromArgb(240,240,240);
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
|
235
|
How do I change the background color for the item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root");
int hC = var_Items.InsertItem(h,null,"Child 1");
var_Items.set_ItemBackColor(hC,(uint)ColorTranslator.ToWin32(Color.FromArgb(255,0,0)));
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
|
33
|
How do I change the "All", "Blanks" or/and "NonBlanks" caption in the drop down filter window

(axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
axComboBox1.set_Description(EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarAll,"new name for (All)");
|
111
|
How do I call your x-script language

EXCOMBOBOXLib.Column var_Column = (axComboBox1.ExecuteTemplate("Columns.Add(`Column`)") as EXCOMBOBOXLib.Column);
var_Column.HeaderStrikeOut = true;
var_Column.HeaderBold = true;
|
110
|
How do I call your x-script language

axComboBox1.Template = "Columns.Add(`Column`).HTMLCaption = `<b>C</b>olumn`";
|
238
|
How do I bold an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemBold(var_Items.AddItem("bold"),true);
|
239
|
How do I bold a cell or an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaptionFormat(var_Items.AddItem("gets <b>bold</b> only a portion of text"),0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
|
240
|
How do I bold a cell

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellBold(var_Items.AddItem("bold"),0,true);
|
233
|
How do I associate an extra data to an item

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_ItemData(var_Items.AddItem("item"),"your extra data");
|
163
|
How do I assign an icon to the button in the scrollbar

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axComboBox1.set_ScrollPartVisible(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,true);
axComboBox1.set_ScrollPartCaption(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,EXCOMBOBOXLib.ScrollPartEnum.exLeftB1Part,"<img>1</img>");
axComboBox1.ScrollHeight = 18;
axComboBox1.ScrollButtonWidth = 18;
|
164
|
How do I assign a tooltip to a scrollbar

axComboBox1.set_ScrollToolTip(EXCOMBOBOXLib.ScrollBarEnum.exHScroll,"This is a tooltip being shown when you click and drag the thumb in the horizontal scroll bar");
axComboBox1.ColumnAutoResize = false;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).Width = 256;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).Width = 256;
|
578
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects (MDB,JET)

axComboBox1.BeginUpdate();
axComboBox1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
rs.Open("Orders","Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\Access\\SAMPLE.MDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axComboBox1.DataSource = (rs as ADODB.Recordset);
axComboBox1.EndUpdate();
|
99
|
How do I assign a database to your control, using ADO, ADOR or ADODB objects

axComboBox1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExComboBox\\Sample\\Access\\SAMPLE.MDB",ADODB.CursorTypeEnum.adOpenStatic,ADODB.LockTypeEnum.adLockOptimistic,0);
axComboBox1.DataSource = (rs as ADODB.Recordset);
|
200
|
How do I arrange my columns on multiple lines

axComboBox1.HeaderHeight = 32;
(axComboBox1.Columns.Add("") as EXCOMBOBOXLib.Column).HTMLCaption = "Line 1<br>Line 2";
|
201
|
How do I arrange my columns on multiple levels

(axComboBox1.Columns.Add("S") as EXCOMBOBOXLib.Column).Width = 32;
(axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 4") as EXCOMBOBOXLib.Column).LevelKey = 1;
(axComboBox1.Columns.Add("Level 1") as EXCOMBOBOXLib.Column).LevelKey = "2";
(axComboBox1.Columns.Add("Level 2") as EXCOMBOBOXLib.Column).LevelKey = "2";
(axComboBox1.Columns.Add("Level 3") as EXCOMBOBOXLib.Column).LevelKey = "2";
(axComboBox1.Columns.Add("Level 4") as EXCOMBOBOXLib.Column).LevelKey = "2";
(axComboBox1.Columns.Add("E") as EXCOMBOBOXLib.Column).Width = 32;
|
303
|
How do I apply HTML format to a cell

axComboBox1.TreeColumnIndex = -1;
axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
axComboBox1.set_HTMLPicture("p1","c:\\exontrol\\images\\zipdisk.gif");
axComboBox1.set_HTMLPicture("p2","c:\\exontrol\\images\\auction.gif");
axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("The following item shows some of the HTML format supported:");
var_Items.set_CellHAlignment(h,0,EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
h = var_Items.AddItem("<br>text icons <img>1</img>, <img>2</img>, ... pictures <img>p1</img>, <img>p2</img> <br><br>text <b>bold</b>, <i>italic</i>, <" +
"u>underline</u>, <s>strikeout</s>, ...<br><dotline>and so on...<br> <a>anchor</a> or <a2>hyperlink</a><br><fgcolor=FF0000>fgcolo" +
"r</fgcolor> or <bgcolor=00FF00>bgcolor</bgcolor> ");
var_Items.set_CellCaptionFormat(h,0,EXCOMBOBOXLib.CaptionFormatEnum.exHTML);
var_Items.set_CellSingleLine(h,0,EXCOMBOBOXLib.CellSingleLineEnum.exCaptionWordWrap);
|
182
|
How do I align the icon in the column's header to the right

axComboBox1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("ColumnName") as EXCOMBOBOXLib.Column);
var_Column.HeaderImage = 1;
var_Column.HeaderImageAlignment = EXCOMBOBOXLib.AlignmentEnum.RightAlignment;
|
346
|
How do change the visual appearance for the drop down border, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
axComboBox1.DropDownBorder = (EXCOMBOBOXLib.AppearanceEnum)0x1000000;
|
70
|
How do change the visual appearance for the control's header bar, using EBN

axComboBox1.VisualAppearance.Add(1,"c:\\exontrol\\images\\normal.ebn");
(axComboBox1.GetOcx() as EXCOMBOBOXLib.ComboBox).HeaderBackColor = 0x1000000;
|
197
|
How do change the vertical alignment for all cells in the column

(axComboBox1.Columns.Add("MultipleLine") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellSingleLine,false);
(axComboBox1.Columns.Add("VAlign") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellVAlignment,2);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem("This is a bit of long text that should break the line"),1,"bottom");
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem("This is a bit of long text that should break the line"),1,"bottom");
|
196
|
How do change the foreground color for all cells in the column

(axComboBox1.Columns.Add("ForeColor") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellForeColor,255);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
195
|
How do change the background color for all cells in the column

(axComboBox1.Columns.Add("BackColor") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellBackColor,255);
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
5
|
How can I use HTML format in column's header

(axComboBox1.Columns.Add("ColumnName") as EXCOMBOBOXLib.Column).HTMLCaption = "<b>HTML</b> <fgcolor=0000FF>Col</fgcolor>umn";
|
28
|
How can I underline the column's header

(axComboBox1.Columns.Add("Column 1") as EXCOMBOBOXLib.Column).HeaderUnderline = true;
|
213
|
How can I underline all cells in the column

EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null);
var_ConditionalFormat.Underline = true;
var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
185
|
How can I specify the minimum width for the column, if I use WidthAutoResize property

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Auto") as EXCOMBOBOXLib.Column);
var_Column.WidthAutoResize = true;
var_Column.MinWidthAutoResize = 32;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
186
|
How can I specify the maximum width for the column, if I use WidthAutoResize property

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Auto") as EXCOMBOBOXLib.Column);
var_Column.WidthAutoResize = true;
var_Column.MinWidthAutoResize = 32;
var_Column.MaxWidthAutoResize = 128;
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
441
|
How can I specify the format for negative numbers

axComboBox1.BeginUpdate();
(axComboBox1.Columns.Add("Def") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem(-100000.27);
var_Items.set_FormatCell(h,0,"(value format '') + ' <fgcolor=808080>(default)'");
h = var_Items.AddItem(-100000.27);
var_Items.set_FormatCell(h,0,"(value format '||||1') + ' <fgcolor=808080>(Negative sign, number; for example, -1.1)'");
axComboBox1.EndUpdate();
|
432
|
How can I specify an item to be always the last item

axComboBox1.BeginUpdate();
axComboBox1.TreeColumnIndex = -1;
(axComboBox1.Columns.Add("Numbers") as EXCOMBOBOXLib.Column).SortType = EXCOMBOBOXLib.SortTypeEnum.SortNumeric;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem(1);
var_Items.AddItem(2);
var_Items.AddItem(3);
var_Items.AddItem(4);
int h = var_Items.AddItem("last");
var_Items.set_CellHAlignment(h,0,EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
var_Items.set_SortableItem(h,false);
var_Items.SortChildren(0,0,true);
axComboBox1.EndUpdate();
|
433
|
How can I specify an item to be always the first item

axComboBox1.BeginUpdate();
axComboBox1.TreeColumnIndex = -1;
(axComboBox1.Columns.Add("Numbers") as EXCOMBOBOXLib.Column).SortType = EXCOMBOBOXLib.SortTypeEnum.SortNumeric;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem(1);
var_Items.AddItem(2);
var_Items.AddItem(3);
var_Items.AddItem(4);
int h = var_Items.AddItem("first");
var_Items.set_ItemPosition(h,0);
var_Items.set_CellHAlignment(h,0,EXCOMBOBOXLib.AlignmentEnum.RightAlignment);
var_Items.set_SortableItem(h,false);
var_Items.SortChildren(0,0,false);
axComboBox1.EndUpdate();
|
530
|
How can I specify alternate background colors for each root item, similar with BackColorAlternate

axComboBox1.BeginUpdate();
axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Default") as EXCOMBOBOXLib.Column);
var_Column.set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellHasCheckBox,true);
var_Column.PartialCheck = true;
EXCOMBOBOXLib.Column var_Column1 = (axComboBox1.Columns.Add("Position") as EXCOMBOBOXLib.Column);
var_Column1.FormatColumn = "( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )";
var_Column1.Visible = false;
EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("%C1 mod 2",null);
var_ConditionalFormat.BackColor = (uint)ColorTranslator.ToWin32(Color.FromArgb(240,240,240));
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root 1");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
h = var_Items.AddItem("Root 2");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
h = var_Items.AddItem("Root 3");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
axComboBox1.EndUpdate();
|
355
|
How can I sort the value gets listed in the drop down filter window

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exLinesAtRoot;
axComboBox1.MarkSearchColumn = false;
axComboBox1.set_Description(EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarAll,"");
axComboBox1.set_Description(EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarBlanks,"");
axComboBox1.set_Description(EXCOMBOBOXLib.DescriptionTypeEnum.exFilterBarNonBlanks,"");
EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("P1") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.DisplayFilterPattern = false;
var_Column.FilterList = EXCOMBOBOXLib.FilterListEnum.exSortItemsDesc;
EXCOMBOBOXLib.Column var_Column1 = (axComboBox1.Columns.Add("P2") as EXCOMBOBOXLib.Column);
var_Column1.DisplayFilterButton = true;
var_Column1.DisplayFilterPattern = false;
var_Column1.FilterList = EXCOMBOBOXLib.FilterListEnum.exSortItemsAsc;
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Z3");
var_Items.set_CellCaption(h,1,"C");
var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Z1"),1,"B");
var_Items.set_CellCaption(var_Items.InsertItem(h,null,"Z2"),1,"A");
var_Items.set_ExpandItem(h,true);
|
230
|
How can I sort the items

axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
var_Items.set_ExpandItem(h,true);
axComboBox1.Columns["Default"].SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending;
|
136
|
How can I sort by multiple columns

axComboBox1.SingleSort = false;
(axComboBox1.Columns.Add("C1") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
(axComboBox1.Columns.Add("C2") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortDescending;
(axComboBox1.Columns.Add("C3") as EXCOMBOBOXLib.Column).SortOrder = EXCOMBOBOXLib.SortOrderEnum.SortAscending;
|
434
|
How can I simulate displaying groups

axComboBox1.HasLines = EXCOMBOBOXLib.HierarchyLineEnum.exNoLine;
axComboBox1.ScrollBySingleLine = true;
EXCOMBOBOXLib.Columns var_Columns = axComboBox1.Columns;
var_Columns.Add("Name");
var_Columns.Add("A");
var_Columns.Add("B");
var_Columns.Add("C");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Group 1");
var_Items.set_CellHAlignment(h,0,EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
var_Items.set_ItemDivider(h,0);
var_Items.set_ItemDividerLineAlignment(h,EXCOMBOBOXLib.DividerAlignmentEnum.DividerBoth);
var_Items.set_ItemHeight(h,24);
var_Items.set_SortableItem(h,false);
int h1 = var_Items.InsertItem(h,null,"Child 1");
var_Items.set_CellCaption(h1,1,1);
var_Items.set_CellCaption(h1,2,2);
var_Items.set_CellCaption(h1,3,3);
h1 = var_Items.InsertItem(h,null,"Child 2");
var_Items.set_CellCaption(h1,1,4);
var_Items.set_CellCaption(h1,2,5);
var_Items.set_CellCaption(h1,3,6);
var_Items.set_ExpandItem(h,true);
h = var_Items.AddItem("Group 2");
var_Items.set_CellHAlignment(h,0,EXCOMBOBOXLib.AlignmentEnum.CenterAlignment);
var_Items.set_ItemDivider(h,0);
var_Items.set_ItemDividerLineAlignment(h,EXCOMBOBOXLib.DividerAlignmentEnum.DividerBoth);
var_Items.set_ItemHeight(h,24);
var_Items.set_SortableItem(h,false);
h1 = var_Items.InsertItem(h,null,"Child 1");
var_Items.set_CellCaption(h1,1,1);
var_Items.set_CellCaption(h1,2,2);
var_Items.set_CellCaption(h1,3,3);
h1 = var_Items.InsertItem(h,null,"Child 2");
var_Items.set_CellCaption(h1,1,4);
var_Items.set_CellCaption(h1,2,5);
var_Items.set_CellCaption(h1,3,6);
var_Items.set_ExpandItem(h,true);
|
128
|
How can I show the locked / fixed items on the bottom side of the control

axComboBox1.ShowLockedItems = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_LockedItemCount(EXCOMBOBOXLib.VAlignmentEnum.exMiddle,2);
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exMiddle,0),0,"locked item 1");
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exMiddle,1),0,"locked item 2");
var_Items.AddItem("un-locked item");
|
127
|
How can I show the locked / fixed items

axComboBox1.ShowLockedItems = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_LockedItemCount(EXCOMBOBOXLib.VAlignmentEnum.exTop,2);
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exTop,0),0,"locked item 1");
var_Items.set_CellCaption(var_Items.get_LockedItem(EXCOMBOBOXLib.VAlignmentEnum.exTop,1),0,"locked item 2");
var_Items.AddItem("un-locked item");
|
336
|
How can I show the drop down window as soon as user starts typing in the control

axComboBox1.AutoDropDown = true;
axComboBox1.Columns.Add("Column");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("Item 3");
var_Items.AddItem("Item 1");
var_Items.AddItem("Item 2");
|
125
|
How can I show the control's sort bar

axComboBox1.SortBarVisible = true;
|
55
|
How can I show the control's grid lines only for added/visible items

axComboBox1.MarkSearchColumn = false;
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exRowLines;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
|
17
|
How can I show the control's grid lines

axComboBox1.MarkSearchColumn = false;
axComboBox1.DrawGridLines = EXCOMBOBOXLib.GridLinesEnum.exAllLines;
axComboBox1.Columns.Add("Column 1");
axComboBox1.Columns.Add("Column 2");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
axComboBox1.Items.AddItem(2);
|
449
|
How can I show the child items with no identation

axComboBox1.LinesAtRoot = EXCOMBOBOXLib.LinesAtRootEnum.exGroupLinesOutside;
axComboBox1.Indent = 12;
axComboBox1.HasLines = EXCOMBOBOXLib.HierarchyLineEnum.exThinLine;
axComboBox1.Columns.Add("Default");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
int h = var_Items.AddItem("Root 1");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
var_Items.InsertItem(h,null,"Child 3");
var_Items.set_ExpandItem(h,true);
h = var_Items.AddItem("Root 2");
var_Items.InsertItem(h,null,"Child 1");
var_Items.InsertItem(h,null,"Child 2");
var_Items.InsertItem(h,null,"Child 3");
|
12
|
How can I show or hide a column

(axComboBox1.Columns.Add("Hidden") as EXCOMBOBOXLib.Column).Visible = false;
|
204
|
How can I show or display the control's filter

(axComboBox1.Columns.Add("Filter") as EXCOMBOBOXLib.Column).DisplayFilterButton = true;
|
480
|
How can I show only the matching items, while user types in the drop down control

// EditChange event - Fired when the user has taken an action that may have altered text in an edit control.
private void axComboBox1_EditChange(object sender, AxEXCOMBOBOXLib._IComboBoxEvents_EditChangeEvent e)
{
string sLabel = axComboBox1.get_EditText(e.colIndex);
System.Diagnostics.Debug.Print( "Select the item that maches exactly the typing label: " );
System.Diagnostics.Debug.Print( sLabel.ToString() );
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_SelectItem(var_Items.FocusItem,false);
var_Items.set_SelectItem(var_Items.get_FindItem(sLabel,e.colIndex,null),true);
}
//this.axComboBox1.EditChange += new AxEXCOMBOBOXLib._IComboBoxEvents_EditChangeEventHandler(this.axComboBox1_EditChange);
axComboBox1.BeginUpdate();
axComboBox1.SingleEdit = true;
axComboBox1.AutoComplete = false;
axComboBox1.AutoSelect = false;
axComboBox1.AutoSearch = false;
axComboBox1.AutoDropDown = true;
axComboBox1.IntegralHeight = true;
axComboBox1.HeaderVisible = false;
axComboBox1.Columns.Add("Friends");
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.AddItem("Fred");
var_Items.AddItem("Tina");
var_Items.AddItem("Tom");
axComboBox1.EndUpdate();
|
212
|
How can I show in italic all data in the column

EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null);
var_ConditionalFormat.Italic = true;
var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
214
|
How can I show as strikeout all cells in the column

EXCOMBOBOXLib.ConditionalFormat var_ConditionalFormat = axComboBox1.ConditionalFormats.Add("1",null);
var_ConditionalFormat.StrikeOut = true;
var_ConditionalFormat.ApplyTo = EXCOMBOBOXLib.FormatApplyToEnum.exFormatToColumns;
axComboBox1.Columns.Add("Column");
axComboBox1.Items.AddItem(0);
axComboBox1.Items.AddItem(1);
|
208
|
How can I show a column that adds values in the cells

axComboBox1.Columns.Add("A");
axComboBox1.Columns.Add("B");
(axComboBox1.Columns.Add("A+B") as EXCOMBOBOXLib.Column).ComputedField = "%0 + %1";
EXCOMBOBOXLib.Items var_Items = axComboBox1.Items;
var_Items.set_CellCaption(var_Items.AddItem(1),1,2);
EXCOMBOBOXLib.Items var_Items1 = axComboBox1.Items;
var_Items1.set_CellCaption(var_Items1.AddItem(10),1,20);
|
600
|
How can I replace or add an icon at runtime

axComboBox1.BeginUpdate();
axComboBox1.ReplaceIcon("gAAAABgYACEHgUJFEEAAWhUJCEJEEJggEhMCYEXjUbjkJQECj8gj8hAEjkshYEpk8kf8ClsulsvAExmcvf83js5nU7nkCeEcn8boMaocXosCB9Hn09pkzcEuoL/fE+O" +
"kYB0gB9YhIHrddgVcr9aktZADAD8+P8CgIA==",null);
axComboBox1.ReplaceIcon("C:\\images\\favicon.ico",0);
(axComboBox1.Columns.Add("Items") as EXCOMBOBOXLib.Column).set_Def(EXCOMBOBOXLib.DefColumnEnum.exCellCaptionFormat,1);
axComboBox1.Items.AddItem("Item <img>1</img>");
axComboBox1.EndUpdate();
|
350
|
How can I remove the filter

EXCOMBOBOXLib.Column var_Column = (axComboBox1.Columns.Add("Column") as EXCOMBOBOXLib.Column);
var_Column.DisplayFilterButton = true;
var_Column.FilterType = EXCOMBOBOXLib.FilterTypeEnum.exBlanks;
axComboBox1.ApplyFilter();
axComboBox1.ClearFilter();
|
227
|
How can I remove or delete an item

axComboBox1.Columns.Add("Default");
int h = axComboBox1.Items.AddItem("removed item");
axComboBox1.Items.RemoveItem(h);
|
228
|
How can I remove or delete all items

axComboBox1.Columns.Add("Default");
axComboBox1.Items.AddItem("removed item");
axComboBox1.Items.RemoveAllItems();
|